package com.oe.market.modules.base.model.bean;

import com.google.gson.annotations.SerializedName;
import com.oe.market.modules.common.model.BaseBean;

import java.util.Date;

public class Account extends BaseBean {
    @SerializedName("account_id")
    public Integer accountId;
    public String phone;
    public String user;
    public String password;
    public String source;
    @SerializedName("create_time")
    public Date createTime;
    @SerializedName("bind_qq")
    public String bindQQ;
    @SerializedName("bind_email")
    public String bindEmail;
    @SerializedName("last_login")
    public Integer lastLogin;
    @SerializedName("current_sign")
    public String currentSign;


    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(int accountId) {
        this.accountId = accountId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLastLogin() {
        return lastLogin;
    }

    public String getCurrentSign() {
        return currentSign;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public String getBindQQ() {
        return bindQQ;
    }

    public void setBindQQ(String bindQQ) {
        this.bindQQ = bindQQ;
    }

    public String getBindEmail() {
        return bindEmail;
    }

    public void setBindEmail(String bindEmail) {
        this.bindEmail = bindEmail;
    }

    public void setLastLogin(Integer lastLogin) {
        this.lastLogin = lastLogin;
    }

    public void setCurrentSign(String currentSign) {
        this.currentSign = currentSign;
    }

    public Account() {}

    public Account(int accountId, String phone, String user, String password, String source, Date createTime, Integer lastLogin, String currentSign,
                   String bindQQ, String bindEmail) {
        this.accountId = accountId;
        this.phone = phone;
        this.user = user;
        this.password = password;
        this.source = source;
        this.createTime = createTime;
        this.lastLogin = lastLogin;
        this.currentSign = currentSign;
        this.bindQQ = bindQQ;
        this.bindEmail = bindEmail;
    }
}
